]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
WindowOverlay: Show close button after an animation
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 27 Mar 2011 18:25:24 +0000 (14:25 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 26 Apr 2011 21:16:53 +0000 (17:16 -0400)
If a user is fast and mouses over a window while the workspace thumbnail
animations are playing, it can be frustrating when the close button won't
appear at the end of the animation.

https://bugzilla.gnome.org/show_bug.cgi?id=645848

js/ui/workspace.js

index 2d487660ee603b61197256ca96deb9033a40c847..728eaa5f011765101cc18d12b0537d4faf0dea9c 100644 (file)
@@ -394,6 +394,8 @@ WindowOverlay.prototype = {
 
     show: function() {
         this._hidden = false;
+        if (this._windowClone.actor.has_pointer)
+            this.closeButton.show();
         this.title.show();
     },